import api from '@/service/api';

interface Output {
  token: string;
  expiresIn: number;
}

/*获取上传token*/
export default () => {
  return api.get('/api/upload/token') as Promise<Output>;
}
